// 操作 cookie
import  Cookies from 'js-cookie';

const TokenKey = 'Pycharm-8054532';

export function getToken() {

    return Cookies.get(TokenKey); // 获取 cookie 的 api
}

export function setToken(value) {

    return Cookies.set(TokenKey,value);
}

export function  deleteToken() {
    return Cookies.delete(TokenKey);
}